package com.eatsystem.dto;


import com.eatsystem.entity.Dish;
import com.eatsystem.entity.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish {

    /**
     * flavors用于接收前端页面传来的flavor
     * 封装数据
     */

    private List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
